/**
 * This program is an unpublished work fully protected by the United
 * States copyright laws and is considered a trade secret belonging
 * to WeddingChannel.com, Inc. and its subsidiaries. To the extent
 * that this work may be considered "published," the following notice
 * applies:
 * <p/>
 * "Copyright 1997-2007 WeddingChannel.com, Inc."
 * <p/>
 * Any unauthorized use, reproduction, distribution, display,
 * modification, or disclosure of this program is strictly prohibited.
 */
class SecurityFilters {

    def filters = {
        loginCheck(controller:"profile", action:"*") {
            before = {
                if(!session.user_id) {
                    redirect(controller: "login")
                    return false
                }
            }
        }
    }

}